package com.aplink.generic.database;

import com.aplink.generic.pojo.GenericObject;
import com.aplink.generic.pojo.ObjPropCol;

import java.util.ArrayList;

public interface IUpdateCommand {

    public long update( GenericObject object, ObjPropCol objPropCol );

    public long update( GenericObject object, ObjPropCol objPropCol,
                        String whereClause );

    public long updateList( ArrayList<GenericObject> objects,
                            ObjPropCol objPropCol );

    public long updateList( ArrayList<GenericObject> objects,
                            ObjPropCol objPropCol, String whereClause );
}
